package com.wing.product.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-05 17:13
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProductPlanningTreeVo {

    //id
    private Long bomId;

    private String id;

    //父id
    private String parentId;

    //是否有子集
    private Boolean hasChild;

    //是否有子集被禁用
    private Boolean hasEnableChild;

    //是不是最终节点
    private Boolean isFinal;

    private Boolean isDelete;

    //BOM产品名称
    private String productName;
    private String productSpec;
    //产品编号
    private String productCode;

    //物资类
    private Long productType;
    private Long productDetailId;
    private String productTypeName;
    //产品性
    private String assemblyNatureName;
    private Long assemblyNature;
    //所属类别
    private Long cusProductType;
    private String cusProductTypeName;
    //计量单位
    private Long inSkuUnit;
    private String inSkuUnitName;
    //需求数
    private BigDecimal inUnitCount;
    //库存数
    private BigDecimal haveQuantity;
    //描述
    private String remark;

}
